package com.ncu.cloundeoffice.service.impl;

import com.ncu.cloundeoffice.mapper.TNationMapper;
import com.ncu.cloundeoffice.pojo.TNation;
import com.ncu.cloundeoffice.service.TNationService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class TNationServiceImpl implements TNationService {

    @Autowired
    private TNationMapper tNationMapper;

    /**
     * 查询所有的名族
     * @return
     */
    @Override
    public List<TNation> getAllTNation() {

        return tNationMapper.getAllTNation();
    }
}
